﻿

using Oliving.Edge.IServices.BASE;
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto;
using Oliving.Edge.Model.DTSN;
using Oliving.Edge.Model.Models;
using Oliving.Edge.Model.ViewModels.DTSN;
using Oliving.Edge.Model.ViewModels.ReportDto;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;

namespace Oliving.Edge.IServices
{
    /// <summary>
    /// IDTSN_CanningServices , 
    /// </summary>	
    public interface IDTSN_CanningServices : IBaseServices<DTSN_Canning>
    {


        /// <summary>
        /// 自定义分页查询
        /// </summary>
        /// <param name="whereExpression">查询条件</param>
        /// <param name="intPageIndex">页码</param>
        /// <param name="intPageSize">页大小</param>
        /// <param name="strOrderByFileds">排序</param>
        /// <returns></returns>
        Task<PageModel<DTSN_CanningPageDto>> QueryPageList(
            Expression<Func<DTSN_Canning, bool>> whereExpression,
            int intPageIndex = 1,
            int intPageSize = 20,
            string strOrderByFileds = null);



        Task<List<ChartDto>> ReportChart(Expression<Func<DTSN_Canning, bool>> whereExpression);

         


    }
}

